﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200136B RID: 4971
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeOffRelicScRsp : IMessage<TakeOffRelicScRsp>, IMessage, IEquatable<TakeOffRelicScRsp>, IDeepCloneable<TakeOffRelicScRsp>, IBufferMessage
	{
		// Token: 0x17003EB3 RID: 16051
		// (get) Token: 0x0600DE94 RID: 56980 RVA: 0x00253A88 File Offset: 0x00251C88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeOffRelicScRsp> Parser
		{
			get
			{
				return TakeOffRelicScRsp._parser;
			}
		}

		// Token: 0x17003EB4 RID: 16052
		// (get) Token: 0x0600DE95 RID: 56981 RVA: 0x00253A8F File Offset: 0x00251C8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeOffRelicScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003EB5 RID: 16053
		// (get) Token: 0x0600DE96 RID: 56982 RVA: 0x00253AA1 File Offset: 0x00251CA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeOffRelicScRsp.Descriptor;
			}
		}

		// Token: 0x0600DE97 RID: 56983 RVA: 0x00253AA8 File Offset: 0x00251CA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeOffRelicScRsp()
		{
		}

		// Token: 0x0600DE98 RID: 56984 RVA: 0x00253AB0 File Offset: 0x00251CB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeOffRelicScRsp(TakeOffRelicScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DE99 RID: 56985 RVA: 0x00253AD5 File Offset: 0x00251CD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeOffRelicScRsp Clone()
		{
			return new TakeOffRelicScRsp(this);
		}

		// Token: 0x17003EB6 RID: 16054
		// (get) Token: 0x0600DE9A RID: 56986 RVA: 0x00253ADD File Offset: 0x00251CDD
		// (set) Token: 0x0600DE9B RID: 56987 RVA: 0x00253AE5 File Offset: 0x00251CE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600DE9C RID: 56988 RVA: 0x00253AEE File Offset: 0x00251CEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeOffRelicScRsp);
		}

		// Token: 0x0600DE9D RID: 56989 RVA: 0x00253AFC File Offset: 0x00251CFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeOffRelicScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DE9E RID: 56990 RVA: 0x00253B2C File Offset: 0x00251D2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DE9F RID: 56991 RVA: 0x00253B6B File Offset: 0x00251D6B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DEA0 RID: 56992 RVA: 0x00253B73 File Offset: 0x00251D73
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DEA1 RID: 56993 RVA: 0x00253B7C File Offset: 0x00251D7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DEA2 RID: 56994 RVA: 0x00253BB0 File Offset: 0x00251DB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DEA3 RID: 56995 RVA: 0x00253BEE File Offset: 0x00251DEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeOffRelicScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DEA4 RID: 56996 RVA: 0x00253C1F File Offset: 0x00251E1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DEA5 RID: 56997 RVA: 0x00253C28 File Offset: 0x00251E28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005844 RID: 22596
		private static readonly MessageParser<TakeOffRelicScRsp> _parser = new MessageParser<TakeOffRelicScRsp>(() => new TakeOffRelicScRsp());

		// Token: 0x04005845 RID: 22597
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005846 RID: 22598
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04005847 RID: 22599
		private uint retcode_;
	}
}
